#version 330 core

//in vec3 ourColor;
in vec2 texCoord;

out vec4 fragColor;

uniform sampler2D texture0;
uniform sampler2D texture1;

void main() {
    vec2 faceCoord = vec2(1 - texCoord.x, texCoord.y);
//    fragColor = mix(texture(texture0, texCoord), texture(texture1, faceCoord), 0.2) * vec4(ourColor, 1.0f);
    fragColor = mix(texture(texture0, texCoord), texture(texture1, faceCoord), 0.2);
}
